package com.estacionamientos


class PromocionDia {
	Date date = new Date()
	Map promocionHora

    static constraints = {
		date(nullable:true)
		promocionHora(nullable:true)
    }
	
	static mapping = {
		promocionHora lazy:true
		promocionHora cascade:'all-delete-orphan'
	}
	
	static hasMany = [promocionHora:Integer]
	static belongsTo = [promocionCalendar:PromocionCalendar]
}
